<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/teambuild/Public/admin/css/common.css" type="text/css" />
<title>管理区域</title>

</head>

<body>
<div id="man_zone">

  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr>
      <td width="7%" class="tb_headc"><span class="left-title">编号</span></td>
      <td width="13%" class="tb_headc" style="text-align:center !important">周报标题</td>
      <td width="20%" class="tb_headc">图标</td>
      <td width="29%" class="tb_headc">简介</td>
      <td width="15%" class="tb_headc">时间</td>
      <td width="6%" class="tb_headc">显示？</td>
      <td width="10%" class="tb_headc">相关操作</td>
    </tr>
    <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "$empty" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
      <td class='tb_headd'><?php echo ($vo["id"]); ?></td>
      <td class='tb_heade'><b><?php echo ($vo["title"]); ?></b></td>
       <td class='tb_heade'><img height="60" src="<?php echo ($vo["icon"]); ?>" /></td>
      <td class='tb_heade property'><?php echo ($vo["description"]); ?></td>
      <td class='tb_heade'><?php echo (friendlydate($vo["time"],'full')); ?></td>
      <td class='<?php if(($i%2) == '1'): ?>tb_headd<?php else: ?>tb_heade<?php endif; ?>'><?php if($vo[visible] == 'y'): ?>显示<?php else: ?>隐藏<?php endif; ?></td>
      <td class='tb_heade'><a href='<?php echo U("service/scanservice",array("id"=>$vo[id]));?>'>查看</a> |<a href='<?php echo U("service/editservice",array("id"=>$vo[id]));?>'>编辑</a> | <a href='<?php echo U("service/delservice",array("id"=>$vo[id]));?>'>删除</a></td><!--编辑删除功能完善gjg20131121合入-->
    </tr><?php endforeach; endif; else: echo "$empty" ;endif; ?>
    <tr>
      <td colspan="8" class="page"><?php echo ($page); ?></td>
    </tr>
    
  </table>

</div>
</body>
</html>